package com.zzf.concurrent.example.design.pattern.balking;

/**
 * @author GaoFeng2017
 * @date 2019/9/8 19:35
 */
public class App {
    public static void main(String[] args) {
        Data data = new Data();
        ChangerThread changerThread = new ChangerThread(data);
        SaverThread saverThread = new SaverThread(data);

        changerThread.start();
        saverThread.start();
    }
}
